<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" pageEncoding="UTF-8"%>
<html>
	<head>
		<title>proxy</title>
	<script type="text/javascript"
		src="<%=request.getContextPath()%>/js/common/jquery-1.7.1.min.js"></script>
	</head>
	<body>
		<script>
(function() {
var getRequest = function(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)","i"),
r = window.location.search.substr(1).match(reg);
return (r!=null)? unescape(r[2]) : null;
},
height = getRequest("data-frameheight");
targetUrl =getRequest("targetUrl");
try {
alert(height+"<<<<<<<<<<<<<<<<<<<<<<<");
//var el = window.top.document.getElementById(getRequest("data-frameid"));
//alert($("#"+getRequest("data-frameid")).attr("id"));
//alert($("#topMessageTime").attr("id")+"---------------");
var el = parent.parent.document.getElementById(getRequest("data-frameid"));
if (!el) return;
el.style.height = height + 'px';
el.src =""+targetUrl;
}
catch (e) {
//console.log(e);
}
})();
</script>
	</body>
</html>